package com.ruoyi.service;

import com.ruoyi.domain.Image;
import com.ruoyi.web.controller.wechat.request.TransImageRequest;
import com.ruoyi.web.controller.wechat.response.TransImageResponse;

import java.io.IOException;

/**
 * TODO
 *
 * @author chenchuan2
 * @date 2023-01-13 17:45:46
 */
public interface ITransService {

    void transImage(String openId, TransImageRequest request, TransImageResponse image) throws IOException;

    Image queryUserImage(String openId, String imageHash);

    void updateImageTime(Image image);

    Image queryByTransId(String transId);

    Image queryNewest(String openId);
}
